package com.swagger.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 金融方案查询check对象
 *
 * @author Amadeus
 * @date 2023/09/12
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(title = "金融方案查询check对象")
public class FinanceSchemeCheckDTO implements Serializable {

    @NotBlank(message = "sku 不能为空")
    @Schema(description = "sku", required = true)
    private String sku;
    @NotBlank(message = "订单号 不能为空")
    @Schema(description = "订单号", required = true)
    private String orderId;
    @Schema(description = "城市")
    private String cityCode;
    @Schema(description = "个人购车  0-否；1-是。 默认为0")
    private Integer personalPurchase = 0;
    @Schema(description = "企业购车 0-否；1-是。 默认为0")
    private Integer enterprisePurchase = 0;
    @Schema(description = "用户id")
    private String accountId;

}